#!/bin/bash
TESTCOMMAND="bin/main" 
echo $1
cd src
make || exit 0
cd ..
${TESTCOMMAND} 
if [ $? != 0 ]; then
	if [ "$1" == "v" ]; then
		valgrind ${TESTCOMMAND}
	fi
fi
